<!DOCTYPE html>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title> {% block title %}微博调谐器{% endblock %}{% block subtitle %} - 配置{% endblock %} </title>

        <link rel="icon" type="image/png" href="/static/files/favicon.png" />
        <link rel="stylesheet" href="/static/files/style.css" type="text/css" />

        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
    </head>

    <body>
    	<a name="top" style = "display:none">==Top==</a>
		{% block scripts %}
		<script type="text/javascript">
			$(document).ready(function(){
				//
			});// $(document).ready(function()
		</script>
		{% endblock %}

        <div id="container">
            <div id="top">
                <div class="top_inner">
                    <div id="logo">
                        <a href="/">微博调谐器</a>
                    </div>
                    <div id="login_div">
                        {% if loggedinfo.logged %}
						欢迎<a href="">{{ loggedinfo.username }}</a> | <a href="{{ loggedinfo.sign_out_url }}">退出登录</a>

                        {% endif %}
					</div>
                    <div id="tabs_main_div">
                        <ul class="tabs_main_list">
                            <li >
                                <a class="{% ifequal tab 0 %}{% else %}in{% endifequal %}active_tab" href="/config/source">同步来源</a>
                            </li>
                            <li >
                                <a class="{% ifequal tab 1 %}{% else %}in{% endifequal %}active_tab" href="/config/desti">同步网站</a>
                            </li>
                            <li >
                                <a class="{% ifequal tab 2 %}{% else %}in{% endifequal %}active_tab" href="/config/filter">过滤列表</a>
                            </li>
                        </ul>
                    </div>
                </div> <!-- end #top block -->
            </div>

            <div id="middle">
                <div id="middle_div">
                    <b class="edge_left"> </b>
                    <b class="edge_right"> </b>

                    <div id="middle_div_center_div">
                        <ul class="middle_div_center_list">
                            <li class="middle_div_center_list_help">
                                <div class="inactiveSubNav">
                                    <b class="edge_left_hover_tab_item">
                                    </b>
                                    <b class="edge_right_hover_tab_item">
                                    </b>
                                    <a href="/help">帮助</a>
                                </div>
                            </li>
                            <li class="active_subnav middle_div_center_list_settings">
                                <div class="activeSubNav">
                                    <b class="edge_left_hover_tab_item_selected">
                                    </b>
                                    <b class="edge_right_hover_tab_item_selected">
                                    </b>
                                    <a href="">设置</a>
                                </div>
                            </li>
                        </ul>
                        <div class="hr">
                            <hr />
                        </div>
                    </div>
                </div>

			{% block content %}{% endblock %}

            </div> <!-- end middle block -->

            <div id="bottom">
                <div class="footer_links_div">
                    <div class="copyright_div">&copy; 2010 xkhhdx <!--sup><small>TM</small></sup--></div>
                    <div class="footer_column">
                        <h2>微博调谐器</h2>
                        <ul>
                            <li>
                                <a href="/help">帮助</a>
                            </li>
                            <li>
                                <a href="http://code.google.com/p/microblog-tuner/">获取源代码</a>
                            </li>
                            <li>
                                <a href="/about">关于</a>
                            </li>
                        </ul>
                    </div>
                    <div class="footer_column">
                        <h2>信息</h2>
                        <ul>
                            <li>
                                <a href="">博客</a>
                            </li>
                            <li>
                                <a href="">微博</a>
                            </li>
                        </ul>
                    </div>
                    <div class="footer_column">
                        <h2>联系</h2>
                        <ul>
                            <li>
                                <a href="mailto:">联系作者</a>
                            </li>
                        </ul>
                    </div>
                    <div class="footer_column">
                        <h2>跳转</h2>
                        <ul>
                            <li>
                                <a href="#top">^ 回顶部</a>
                            </li>
                        </ul>
                    </div>
                    <div class="hr">
                        <hr />
                    </div>
                </div><!-- end #footer_links_div block -->
            </div> <!-- end #bottom block -->
        </div> <!-- end #container block -->

		<script type="text/javascript">
		//<![CDATA[
			$(function() {
				$('li:last-child').addClass('lastItem');

				$('.middle_div_center_list li[class!=active_subnav]').hover(
					function(e){ // 鼠标悬停
						$(this).addClass('middle_divHoverbble')
					}, function(e) { // 鼠标移出
						$(this).removeClass('middle_divHoverbble')
					})
			})
		//]]>
		</script>

	</body>
</html>


